<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>image   | Amaze UI Examples</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="icon" type="image/png" href="Public/assets/i/favicon.png">
    <meta name="mobile-web-app-capable" content="yes">
    <link rel="icon" sizes="192x192" href="Public/assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
    <link rel="apple-touch-icon-precomposed" href="Public/assets/i/app-icon72x72@2x.png">
    <meta name="msapplication-TileImage" content="Public/assets/i/app-icon72x72@2x.png">
    <meta name="msapplication-TileColor" content="#0e90d2">
    <link rel="stylesheet" href="Public/assets/css/amazeui.min.css">
    <link rel="stylesheet" href="Public/assets/css/app.css">
</head>

<body id="blog-article-sidebar">
<!-- header start -->
<header class="am-g am-g-fixed blog-fixed blog-text-center blog-header">
    <div class="am-u-sm-8 am-u-sm-centered" >
        <img width="100%" src="<?php echo ($index["header_photo"]); ?>" alt="这是顶部的图片"/>
        <h1 class="am-hide-sm-only"><?php echo ($index["header_text"]); ?></h1>
    </div>
</header>
<hr>

<nav class="am-g am-g-fixed blog-fixed blog-nav">
    <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only blog-button" data-am-collapse="{target: '#blog-collapse'}" ><span class="am-sr-only">导航切换</span> <span class="am-icon-bars"></span></button>

    <div class="am-collapse am-topbar-collapse" id="blog-collapse">
        <ul class="am-nav am-nav-pills am-topbar-nav">
            <li class="am-active"><a href="index.php">首页</a></li>
            <!--<li class="am-dropdown" data-am-dropdown>-->
                <!--<a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">-->
                    <!--首页布局 <span class="am-icon-caret-down"></span>-->
                <!--</a>-->
                <!--<ul class="am-dropdown-content">-->
                    <!--<li><a href="lw-index.html">1. blog-index-standard</a></li>-->
                    <!--<li><a href="lw-index-nosidebar.html">2. blog-index-nosidebar</a></li>-->
                    <!--<li><a href="lw-index-center.html">3. blog-index-layout</a></li>-->
                    <!--<li><a href="lw-index-noslider.html">4. blog-index-noslider</a></li>-->
                <!--</ul>-->
            <!--</li>-->
            <li><a href="index.php?c=article">文章</a></li>
            <li><a href="index.php?c=diary">随笔</a></li>
            <li><a href="index.php?c=photo">相册</a></li>
            <li><a href="#">拓展</a></li>
            <li><a href="#">关于我</a></li>
        </ul>
        <form class="am-topbar-form am-topbar-right am-form-inline" role="search">
            <div class="am-form-group">
                <input type="text" class="am-form-field am-input-sm" placeholder="搜索">
            </div>
        </form>
    </div>
</nav>
<hr>

<!-- content srart -->
<div class="am-g am-g-fixed blog-fixed blog-content">
    <figure data-am-widget="figure" class="am am-figure am-figure-default "   data-am-figure="{  pureview: 'true' }">
        <div id="container">
            <?php if(is_array($image_arr)): $i = 0; $__LIST__ = $image_arr;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$image): $mod = ($i % 2 );++$i;?><div><img src="<?php echo ($image["i_href"]); ?>"><h3><?php echo ($image["i_title"]); ?></h3></div><?php endforeach; endif; else: echo "" ;endif; ?>
        </div>

    </figure>

</div>
<!-- content end -->


<footer class="blog-footer">
    <div class="am-g am-g-fixed blog-fixed am-u-sm-centered blog-footer-padding">
        <div class="am-u-sm-12 am-u-md-4- am-u-lg-4">
            <h3>功能模块</h3>
            <p>
            <?php echo ($index["footer_function"]); ?>
            </p>
        </div>
        <div class="am-u-sm-12 am-u-md-4- am-u-lg-4">
            <h1>友情链接</h1>
            <p>
            <ul>
                <li>jQuery</li>
                <li>Zepto.js</li>
                <li>Seajs</li>
                <li>LESS</li>
                <li>...</li>
            </ul>
            </p>
        </div>
        <div class="am-u-sm-12 am-u-md-4- am-u-lg-4">
            <h3>其他主页</h3>
            <p>
                <?php echo ($index["footer_home"]); ?>
             </p>
        </div>

    </div>
    <div class="blog-text-center" style="font-size: 13px;"><?php echo ($index["footer_text"]); ?></div>
</footer>




<!--[if (gte IE 9)|!(IE)]><!-->
<script src="Public/assets/js/jquery.min.js"></script>
<!--<![endif]-->
<!--[if lte IE 8 ]>
<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="Public/assets/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->
<script src="Public/assets/js/amazeui.min.js"></script>
<script src="Public/assets/js/pinto.min.js"></script>
<script src="Public/assets/js/img.js"></script>
</body>
</html>